package counter.com.connproperty.loudongjiance;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

public class FindHost {
    String host;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    LocalDateTime create;

    @Override
    public String toString() {
        return "{" +
                "\"host\":\"" + host + "\"," +
                "\"create\":\"" + create + "\"}";
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public LocalDateTime getCreate() {
        return create;
    }

    public void setCreate(LocalDateTime create) {
        this.create = create;
    }
}
